package com.operate.api.app.balance.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class AppOrderRechargeVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "订单编号")
    private String id;
    @ApiModelProperty(value = "交易单号")
    private String orderNo;
    @ApiModelProperty(value = "充值金额")
    private BigDecimal orderMoney;
    @ApiModelProperty(value = "充值获得豆子数量")
    private Long orderNum;
    @ApiModelProperty(value = "订单状态 1 待支付 2 已支付")
    private Integer orderState;
    @ApiModelProperty(value = "支付方式 1 支付宝 2 微信")
    private Integer orderType;
    @ApiModelProperty(value = "支付时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date orderDate;

}
